#ifndef LINEEDIT_H
#define LINEEDIT_H

#include <QLineEdit>

class Lineedit : public QLineEdit
{
    Q_OBJECT
public:
    explicit Lineedit(QWidget *parent = 0);

signals:

public slots:
protected:
    void mousePressEvent(QMouseEvent *event);
    void mouseMoveEvent(QMouseEvent *event);
    void performDrag();
    void dragEnterEvent(QDragEnterEvent *event);
    void dragMoveEvent(QDragMoveEvent *event);
    void dropEvent(QDropEvent *event);
    QPoint startPos;
};

#endif // LINEEDIT_H
